var question, answers = [];

if(localStorage.question){
    var arry = ['A','B','C','D'];
    question = JSON.parse(localStorage.question);
    question.forEach(function (value) {
        if(arry[value.choice] != value.correct){
            answers.push(value);
        }
    })
}else{
    location.href = 'index.html';
}

var app = new Vue({
    el: '#app',
    data: function () {
        return {
            lists : answers,
            ABC : ['A','B','C','D'],
            NUM : ['一','二','三','四','五','六','七','八','九','十']
        }
    },
    created: function () {

    },
    methods: {

    }
})